-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graph API #191
Merged
Merged
Graph API #191
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
djeedai
added
A - documentation
Improvements or additions to documentation
C - enhancement
New feature or request
A - testing
Add or improve testing
A - internal
Internal change on a core system
A - examples
Change related to examples
A - modifiers
Change related to modifiers
C - breaking change
A breaking API or behavior change
A - components
Change related to an ECS component
D - complex
Complex change
labels
Jun 23, 2023
Comments from @NiseVoid on Discord:
|
Add a more complex example to showcase how expressions can help effect authors customize the behavior of modifiers.
This was referenced Jul 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A - components
Change related to an ECS component
A - documentation
Improvements or additions to documentation
A - examples
Change related to examples
A - internal
Internal change on a core system
A - modifiers
Change related to modifiers
A - testing
Add or improve testing
C - breaking change
A breaking API or behavior change
C - enhancement
New feature or request
D - complex
Complex change
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change adds a large part of the Graph API, including most of the low-level
Expression API for code-first runtime-focused customizing of modifiers, and an
experimental preview of the higher level editing-focused Node API.
The
graph
module, as well as itsexpr
andnode
submodules, contain designnotes and high-level introductions to the new Expression and Node APIs,
respectively.
The CHANGELOG has been updated with an exhaustive list of changes. We describe
here the main changes only.
Notably, this change removes the
InitAgeModifier
andInitLifetimeModifier
,which are superseeded by the more generic and powerful
InitAttributeModifier
,which can initialize any particle attribute. The CHANGELOG lists all modifiers
which have been otherwise impacted by some changes.
This change is a major breaking change, and is accompanied by a migration guide
(in the
docs/
folder) due to the large amount and complexity of changescompared to previous releases. The migration from v0.6 is relatively
straightforward however, following the guide or looking at the examples.
All examples have been converted to this new Expression API, and are fully
functional. The change should be on parity with the previous architecture;
however if you notice any discrepancy or regression please open a bug.